package com.sh.data.engine.repository.dao.taskalarm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_task_alarm_flow")
public class TaskAlarmFlowEntity extends EngineBaseModel<TaskAlarmFlowEntity> {

    private Long alarmId;

    private Long nodeId;

    private String nodeName;

    /**
     * 离线计算的是否打断任务 0-不打断 1-打断
     */
    private Integer isInterrupt;

    /**
     * 离线计算的运行超时(分钟)
     */
    private Integer timeout;

    /**
     * 离线计算的未完成 yyyy-MM-dd HH:mm:ss
     */
    private String unFinishedTime;

    /**
     * 离线计算的占用资源阈值
     */
    private Double threshold;
}
